package lqb;

import java.util.Scanner;

public class lqb三体时间 {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int time = 999;
        int day = 999;
        int allTime = time * 2;
        int dayX = allTime / 24;
        int dayY = allTime % 24;
        System.out.println(dayY);



        day += dayX;




        System.out.println(day);


        scan.close();
    }
}
